package cn.heima.com;

import java.io.File;
import java.io.IOException;

public class Demo {
    public static void main(String[] args) throws IOException {

       /* File file  =new File("Day11//aaa.txt");
        try {
            file.createNewFile();
        } catch (IOException e) {
            e.printStackTrace();
        }*/
      File file = new File("D:\\FileDemo\\heima");
       if(!file.exists()){
           file.mkdirs();
       }
       File files = new File(file,"bbb.txt");
        files.createNewFile();
    }
}
